############### configuration #################
PROJ_NAME = libchunfeng
TARGETS = libchunfeng test
#VER =
###############################################

VER ?= $(shell cat VERSION)
RELEASE_PATH ?= ..
all install clean:
	@for i in `echo $(TARGETS)`; do \
		$(MAKE) -f $$i.makefile $@ || exit 1; \
	done

release:clean
	rm -f ../$(PROJ_NAME)-$(VER).tar.gz
	cd .. && tar -zcf  $(PROJ_NAME)-$(VER).tar.gz $(PROJ_NAME) --exclude=.svn
	
distclean:clean
	echo ""> config.mk

.PHONY:all install clean release distclean
